package com.haierp.util;

import java.util.HashMap;
import java.util.Map;

public class MapUtil {
	
	public static Map<String, String> getCategoryKuaiDi() {
		Map<String, String> category = new HashMap<String, String>();
		category.put("韵达快运", "YD");
		category.put("百世汇通", "huitongkuaidi");//特殊暂且不支持的公司取调取快递100 
		category.put("EMS", "EMS");
		category.put("韵达", "YD");
		category.put("shentong", "STO");
		category.put("申通", "STO");
		category.put("顺丰", "SF");
		category.put("zhongtong", "ZTO");
		category.put("tiantian", "tiantian");//特殊暂且不支持的公司取调取快递100 
		return category;

	}
	public static Map<String, Object> getCategoryMap() {
		Map<String, Object> category = new HashMap<String, Object>();
		category.put("面部护肤", "09020100004");
		category.put("普通护肤", "09020100004");
		category.put("高级护肤", "09020100004");
		category.put("美发护发", "11020100020");
		category.put("身体护理", "09020100004");
		category.put("口腔护理", "11021140001");
		category.put("女士护理", "09020100004");//
		category.put("男士护理", "09020100004");//
		category.put("彩妆香水", "09010100002");//香水
		category.put("潮流女包", "06010200010");
		category.put("时尚男包", "06010300003");
		category.put("精品钱包", "06010300003");
		category.put("生活用品", "11019910011");//生活水杯
		category.put("生活电器", "11021140001");
		category.put("厨房电器", "11019990003");
		category.put("宠物用品", "01019900067");
		category.put("精品美食", "01019900037");
		category.put("流行饰品", "08010000006");
		category.put("女装", "04019900007");
		category.put("男装", "04010400001");
		category.put("鞋靴", "06029900006");
		category.put("配饰", "08010000005");
		category.put("美妆护肤", "09020100004");//化妆/美容专用工具等
		category.put("箱包皮具", "06010200011");
		category.put("家庭日用", "11020100021");
		category.put("潮流服饰", "04010200003");
		category.put("精品红酒", "02020000001"); //新增红酒类目
	    ////////////////////////////////////////////////////////以下为小红书类目
		category.put("母婴用品", "11010100007");
		category.put("服饰鞋包", "04010200003");
		category.put("母婴", "11010100007");
		category.put("食品", "01019900037");
		category.put("美妆/饰品/个护/电器", "08010000006");
		category.put("家居百货", "11020100021");
		category.put("家用电器", "11011600001");
		category.put("潮流彩妆", "09030400002");
		category.put("潮流香水", "09010100002");//香水
		category.put("美妆/个护", "10019900010");
		category.put("食品", "01019900037");
		category.put("3C数码", "11021140001");
		return category;
	}
	
	//USA-P
	public static Map<String, Object> getCategoryUsap() {
		Map<String, Object> category = new HashMap<String, Object>();
		category.put("美发护发", 0.3);
		category.put("身体护理", 0.3);
		category.put("口腔护理", 0.3);
		category.put("女士护理", 0.3);
		category.put("男士护理", 0.3);
		category.put("生活用品", 0.3);
		category.put("厨房电器", 0.3);
		category.put("宠物用品",0.3);
		category.put("精品美食", 0.15);
		category.put("女装", 0.3);
		category.put("男装", 0.3);
		category.put("鞋靴", 0.3);
		category.put("配饰", 0.3);
		category.put("家庭日用", 0.3);
		category.put("潮流服饰", 0.3);
		return category;
	}
	
	    //USA-C
		public static Map<String, Object> getCategoryUsac() {
			Map<String, Object> category = new HashMap<String, Object>();
			category.put("箱包皮具", 0.3);
			category.put("精品钱包", 0.3);
			category.put("潮流女包", 0.3);
			category.put("时尚男包", 0.3);
			category.put("流行饰品", 0.3);
			category.put("生活电器", 0.3);
			category.put("美妆护肤", 0.3);
			category.put("彩妆香水", 0.3);
			category.put("高级护肤", 0.3);
			category.put("普通护肤", 0.3);
			category.put("潮流彩妆", 0.3);
			category.put("潮流香水", 0.3);
			return category;
		}
	
	public static Map<String, String> getWareHouse() {
		Map<String, String> category = new HashMap<String, String>();
		category.put("波特兰仓", "Por");
		category.put("洛杉矶仓", "LA");
		category.put("西雅图仓", "Sea");
		category.put("纽约仓", "NY");
		return category;

	}
	
	   //商品品类映射
		public static Map<String, Object> getCategoryIdForXlobo() {
			Map<String, Object> category = new HashMap<String, Object>();
			category.put("面部护肤", 129);
			category.put("美发护发", 155);
			category.put("身体护理", 133);
			category.put("口腔护理", 164);
			category.put("女士护理", 166);
			category.put("男士护理", 168);
			category.put("彩妆香水", 1);
			category.put("潮流女包", 177);
			category.put("时尚男包", 188);
			category.put("精品钱包", 173);
			category.put("生活用品", 3);
			category.put("生活电器", 79);
			category.put("厨房电器", 97);
			category.put("宠物用品",316);
			category.put("精品美食", 13);
			category.put("流行饰品", 349);
			category.put("女装", 112);
			category.put("男装", 106);
			category.put("鞋靴", 11);
			category.put("配饰", 9);
			category.put("美妆护肤", 152);
			category.put("箱包皮具", 11);
			category.put("家庭日用", 3);
			category.put("潮流服饰", 112);
			category.put("潮流彩妆", 143);
			category.put("潮流香水", 128);
			return category;

		}
		
		
	    //需要打包类目
		public static Map<String, Object> getClothes() {
			Map<String, Object> category = new HashMap<String, Object>();
			category.put("面部护肤", 129);
			category.put("美发护发", 155);
			category.put("身体护理", 133);
			category.put("口腔护理", 164);
			category.put("女士护理", 166);
			category.put("男士护理", 168);
			category.put("彩妆香水", 1);
			category.put("潮流女包", 177);
			category.put("时尚男包", 188);
			category.put("精品钱包", 173);
			category.put("生活用品", 3);
			category.put("生活电器", 79);
			category.put("厨房电器", 97);
			category.put("宠物用品",316);
			category.put("精品美食", 13);
			category.put("流行饰品", 349);
			category.put("鞋靴", 11);
			category.put("配饰", 9);
			category.put("美妆护肤", 152);
			category.put("箱包皮具", 11);
			category.put("家庭日用", 3);
			category.put("潮流彩妆", 1);
			category.put("潮流香水", 1);
			category.put("高级护肤", 129);
			category.put("普通护肤", 13);
			return category;
		}
		
		public static Map<String, String> getNoshippingAddress() {
			Map<String, String> noaddress = new HashMap<String, String>();
			noaddress.put("贵州省遵义市汇川区人民路天赐花园", "YD");
			return noaddress;
		}
		
		public static Map<String, String> luxuItem() {
			Map<String, String> noaddress = new HashMap<String, String>();
			noaddress.put("Giorgio Armani", "YD");
			noaddress.put("Burberry", "YD");
			noaddress.put("SK-II", "YD");
			noaddress.put("Lancome", "YD");
			noaddress.put("Estee Lauder", "YD");
			noaddress.put("Tom Ford", "YD");
			noaddress.put("Clarins", "YD");
			noaddress.put("Fresh", "YD");
			noaddress.put("Clinique", "YD");
			noaddress.put("Bobbi Brown", "YD");
			noaddress.put("Mac", "YD");
			noaddress.put("DIOR", "YD");
			noaddress.put("Chanel", "YD");
			noaddress.put("GIVENCHY", "YD");
			noaddress.put("YSL", "YD");
			noaddress.put("Shiseido", "YD");
			noaddress.put("Jo Malone", "YD");
			noaddress.put("Benefit", "YD");
			noaddress.put("Origins", "YD");
			noaddress.put("Tarte", "YD");
			noaddress.put("Too Faced", "YD");
			noaddress.put("Peter Thomas Roth", "YD");
			noaddress.put("Coach", "YD");
			noaddress.put("Michael Kors", "YD");
			noaddress.put("Kate Spade", "YD");
			noaddress.put("Tory Burch", "YD");
			noaddress.put("Marc Jacobs", "YD");
			noaddress.put("Furla", "YD");
			noaddress.put("Pinko", "YD");
			noaddress.put("UGG", "YD");
			noaddress.put("stuart weitzman", "YD");
			noaddress.put("Aldo", "YD");
			noaddress.put("DKNY", "YD");
			noaddress.put("Longchamp", "YD");
			noaddress.put("Lacoste", "YD");
			noaddress.put("Fossil", "YD");
			noaddress.put("Kipling", "YD");
			noaddress.put("Louis Vuitton", "YD");
			noaddress.put("Chanel", "YD");
			noaddress.put("Prada", "YD");
			noaddress.put("Fendi", "YD");
			noaddress.put("Burberry", "YD");
			noaddress.put("Gucci", "YD");
			noaddress.put("Giorgio Armani", "YD");
			noaddress.put("Dior", "YD");
			noaddress.put("Versace", "YD");
			noaddress.put("Laura Mercier", "YD");
			noaddress.put("Chloe", "YD");
			noaddress.put("Kiehl's", "YD");
			noaddress.put("LA MER", "YD");
			return noaddress;
		}
		
	    //轻奢类母
		public static Map<String, String> getCategoryLuxu() {
			Map<String, String> category = new HashMap<String, String>();
			category.put("箱包皮具", "4");
			category.put("精品钱包", "4");
			category.put("潮流女包", "4");
			category.put("时尚男包", "4");
			category.put("流行饰品", "4");
			category.put("配饰", "4");
			return category;
		}

	public static Map<String, String> getSceneExplain() {
		Map<String, String> sceneExplain = new HashMap<String, String>();
		sceneExplain.put("1001", "发现栏小程序主入口");
		sceneExplain.put("1005", "顶部搜索框的搜索结果页");
		sceneExplain.put("1006", "发现栏小程序主入口搜索框的搜索结果页");
		sceneExplain.put("1007", "单人聊天会话中的小程序消息卡片");
		sceneExplain.put("1008", "群聊会话中的小程序消息卡片");
		sceneExplain.put("1011", "扫描二维码");
		sceneExplain.put("1012", "长按图片识别二维码");
		sceneExplain.put("1013", "手机相册选取二维码");
		sceneExplain.put("1020", "公众号 profile页相关小程序列表");
		sceneExplain.put("1022", "聊天顶部置顶小程序入口");
		sceneExplain.put("1023", "安卓系统桌面图标");
		sceneExplain.put("1024", "小程序 profile页");
		sceneExplain.put("1027", "顶部搜索框搜索结果页'使用过的小程序'列表");
		sceneExplain.put("1030", "自动化测试下打开小程序");
		sceneExplain.put("1035", "公众号自定义菜单");
		sceneExplain.put("1042", "添加好友搜索框的搜索结果页");
		sceneExplain.put("1047", "扫描小程序码");
		sceneExplain.put("1048", "长按图片识别小程序码");
		sceneExplain.put("1049", "手机相册选取小程序码");
		sceneExplain.put("1053", "搜一搜的结果页");
		sceneExplain.put("1054", "顶部搜索框小程序快捷入口");
		sceneExplain.put("1080", "");
		sceneExplain.put("1089", "微信聊天主界面下拉");
		sceneExplain.put("1102", "服务号 profile页服务预览");
		return null;
	}
	 //低价值不能走邮客食品线
	public static Map<String, String> getCategoryNoFda() {
		Map<String, String> category = new HashMap<String, String>();
		category.put("男装", "4");
		category.put("女装", "4");
		category.put("潮流服饰", "4");
		category.put("美妆护肤", "4");
		return category;
	}
	
	/*JSONObject jsonObject = null;
	StringBuffer buffer = new StringBuffer();
	Map result=new HashMap();
	InputStream in;
	try {
		in = request.getInputStream();
		BufferedReader br = new BufferedReader(new InputStreamReader(in));
		String jsonStr = br.readLine();
		System.out.println(jsonStr);
		JSONObject param = JSONObject.fromObject(jsonStr); 
		String targetNo = param.getString("id");
		String msg = param.getString("msg");
		String msgType = param.getString("type");
		System.out.println("推送事件"+msgType);
		String truemsg= URLDecoder.decode(msg, "utf-8");
		System.out.println(truemsg);
		JSONObject  myJson = JSONObject.fromObject(truemsg);
		JSONObject  full_order_info = myJson.getJSONObject("full_order_info");
		JSONObject  order_info = full_order_info.getJSONObject("order_info");
		String  status = order_info.getString("status");
		String  pullTid = order_info.getString("tid");*/
	
	
	
	
	
	
}
